package com.jiedeng.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

/**
 * @author 覃远龙
 * @ClassName: SysLog
 * @Description:
 * @date 2017/10/18 15:12
 */
@Entity(name = "sys_Log")
public class SysLog {

    @Id
    @Column(name = "Log_id", length = 100)
    private String id;

    @Column(name = "logtitle", length = 1000)
    private String logTitle;

    @Column(name = "logcontent", length = 1000)
    private String logContent;

    @Column
    private Date time;

    @Column
    private int typeid;

    @Column(name = "Person_ID")
    private long personId;

    @Column(name = "Corp_ID")
    private long corpId;

    @Column(name = "project_id")
    private long projectId;

    @Column(length = 1000)
    private String ip;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLogTitle() {
        return logTitle;
    }

    public void setLogTitle(String logTitle) {
        this.logTitle = logTitle;
    }

    public String getLogContent() {
        return logContent;
    }

    public void setLogContent(String logContent) {
        this.logContent = logContent;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public int getTypeid() {
        return typeid;
    }

    public void setTypeid(int typeid) {
        this.typeid = typeid;
    }

    public long getPersonId() {
        return personId;
    }

    public void setPersonId(long personId) {
        this.personId = personId;
    }

    public long getCorpId() {
        return corpId;
    }

    public void setCorpId(long corpId) {
        this.corpId = corpId;
    }

    public long getProjectId() {
        return projectId;
    }

    public void setProjectId(long projectId) {
        this.projectId = projectId;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }
}
